projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e02e900
)
Avoid unnecessary includes
author
André Klitzing
<aklitzing@gmail.com>
Fri, 10 Mar 2017 21:24:57 +0000
(22:24 +0100)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Fri, 10 Mar 2017 21:46:50 +0000
(21:46 +0000)
"return" will do the same here. Also that style is used at the
end of the function.
Closes: #732
Approved by: jlebon
tests/test-rollsum-cli.c
patch
|
blob
|
history
diff --git
a/tests/test-rollsum-cli.c
b/tests/test-rollsum-cli.c
index 4f24477c8b96e22112f0a6c8fc64c4e6c8d2266a..a00e4b7326e03c29b38d042fc781e4f1f821fe27 100644
(file)
--- a/
tests/test-rollsum-cli.c
+++ b/
tests/test-rollsum-cli.c
@@
-21,8
+21,6
@@
#include "config.h"
#include "ostree-rollsum.h"
-#include <unistd.h>
-#include <stdlib.h>
int
main (int argc, char **argv)
@@
-39,7
+37,7
@@
main (int argc, char **argv)
g_setenv ("GIO_USE_VFS", "local", TRUE);
if (argc < 3)
-
exit (EXIT_FAILURE)
;
+
return 1
;
from_path = argv[1];
to_path = argv[2];